import xlrd


def get_data_from_excel(file,sheet):
    data=xlrd.open_workbook(file)
    table=data.sheet_by_name(sheet)
    nrows=table.nrows
    lst=[]
    for row in range(1,nrows):
        data=table.row_values(row)
        lst.append(data)
    return lst

